import openpyxl

myBook=openpyxl.load_workbook('员工表.xlsx',data_only=True)
mySheet=myBook.active

for myRow in list(mySheet.rows)[1:]:
	for myCell in myRow:
		myCell.value=myCell.value.replace('巴县','巴南区')
		myCell.value=myCell.value.replace('江北县','渝北区')

myBook.save('结果表-员工表.xlsx')